<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');?>
<!--{**************************************************************************}-->
<link rel="stylesheet" type="text/css" href="{default_css}" />
<!--{**************************************************************************}-->
<fieldset>
	<legend>그룹 정보 편집</legend>
	<form id="editForm" action="" method="POST">
	<input type="hidden" name="user_group_seq" value="{data.user_group_seq}"/>
	<table class="form">
		<colgroup>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
		</colgroup>
		<tbody>
			<tr>
				<th>그룹명</th>
				<td colspan="3"><input type="text" name="user_group_name" value="{data.user_group_name}" class="input"/></td>
			</tr>
			<tr>
				<th>자동등업</th>
				<td>
					<input type="radio" name="user_group_auto_condition" value="T" id="r1t"<!--{? data.user_group_auto_condition != 'F'}--> checked="checked"<!--{/}-->/> <label for="r1t">사용</label>
					<input type="radio" name="user_group_auto_condition" value="F" id="r1f"<!--{? data.user_group_auto_condition == 'F'}--> checked="checked"<!--{/}-->/> <label for="r1f">사용안함</label>
				</td>
				<th>그룹조건</th>
				<td><input type="text" name="user_group_condition" value="{=number_format(data.user_group_condition)}" class="input price" size="7"/> 원이상</td>
			</tr>
			<tr>
				<th>할인조건</th>
				<td><input type="text" name="user_group_discount_price" value="{=number_format(data.user_group_discount_price)}" class="input price" size="7"/> 원이상</td>
				<th>할인율</th>
				<td><input type="text" name="user_group_discount_rate" value="{data.user_group_discount_rate}" class="input price" size="3"/> %</td>
			</tr>
			<tr>
				<th>적립금조건</th>
				<td><input type="text" name="user_group_point_price" value="{=number_format(data.user_group_point_price)}" class="input price" size="7"/> 원이상</td>
				<th>적립률</th>
				<td><input type="text" name="user_group_point_rate" value="{data.user_group_point_rate}" class="input price" size="3"/> %</td>
			</tr>
			<tr>
				<th>메모</th>
				<td colspan="3"><textarea name="user_group_memo">{data.user_group_memo}</textarea></td>
			</tr>
		</tbody>
	</table>
	</form>
</fieldset>
<!--{**************************************************************************}-->
<script src="{default_js}"></script>
<!--{**************************************************************************}-->